<canvas id="myChart" width="400" height="250"></canvas>
<script>

    $(function () {
        var ctx = document.getElementById("myChart").getContext('2d');
        var myChart = new Chart(ctx, {
            type: 'line',
            data: {
                labels: labels,
                datasets: [{
                    label: label,
                    data: data,
                    borderColor: 'rgba(255,99,132,1)'
                }]
            }
        });
    });
</script>